import request from '@/utils/request'

const urls = import.meta.env.VITE_APP_GOODS_API;
// 上传图片
export function uploadImg(data) {
  return request({
    url: urls + '/base/upload',
    method: 'POST',
    data
  })
}